package algorithm.ldk.LinearSearch;

/**
 * @作者：ldk
 * @email 2505496685@qq.com
 * @描述：默认描述
 * @创建时间：9:51 2020-12-31
 * @修改时间：9:51 2020-12-31
 * @修改描述：默认描述
 */
public class ArrayGenerator {

    private ArrayGenerator(){}

    public static Integer[] generateOrderedArray(int n){
        Integer[] arr = new Integer[n];
        for (int i = 0; i < n; i++ ){
            arr[i] = i;
        }
        return arr;
    }

}
